import z from "zod";

const FriendSchemas = {
    friendId: z.object({
        query: z.object({
            friendId: z.string().regex(/^\d+$/),
        })
    }),
    contactId: z.object({
        query: z.object({
            contactId: z.string().regex(/^\d+$/),
        })
    }),
}

export type FriendInput = z.infer<typeof FriendSchemas.friendId>['query'];
export type ContactInput = z.infer<typeof FriendSchemas.contactId>['query'];
export default FriendSchemas;